package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.manager.sysman.sysmanRole.read;

import java.util.List;
import java.util.Map;

import com.MutiModule.common.myPage.MyPageView;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.manager.sysman.sysmanRole.SysmanRole;

/**
 * SysmanRole 模块 读接口
 * @author alexgaoyh
 *
 */
public interface ISysmanRoleReadService {

	int selectCountByMap(Map<Object, Object> map);

    List<SysmanRole> selectListByMap(Map<Object, Object> map);

    SysmanRole selectByPrimaryKey(Long id);

    /**
     * 获取分页实体信息部分
     * @param map
     * @return
     */
    MyPageView<SysmanRole> generateMyPageViewVO(Map<Object, Object> map);
    
    /**
     * 根据 后台用户 获取用户id下所包含的所有角色集合
     * @param id	用户id
     * @return
     */
    List<SysmanRole> selectBySysmanUserId(Long id);
    
}
